package wang.hongyun.pojo;

import java.util.Date;

public class Tb_purchase {
    private Integer purchaseId;

    private String purchaseContent;

    private Integer purchasePrize;

    private String purchaseName;

    private Integer flag;

    private Integer docid;

    private Date createtime;

    private Date updatetime;

    public Tb_purchase(Integer purchaseId, String purchaseContent, Integer purchasePrize, String purchaseName, Integer flag, Integer docid, Date createtime, Date updatetime) {
        this.purchaseId = purchaseId;
        this.purchaseContent = purchaseContent;
        this.purchasePrize = purchasePrize;
        this.purchaseName = purchaseName;
        this.flag = flag;
        this.docid = docid;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Tb_purchase() {
        super();
    }

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getPurchaseContent() {
        return purchaseContent;
    }

    public void setPurchaseContent(String purchaseContent) {
        this.purchaseContent = purchaseContent == null ? null : purchaseContent.trim();
    }

    public Integer getPurchasePrize() {
        return purchasePrize;
    }

    public void setPurchasePrize(Integer purchasePrize) {
        this.purchasePrize = purchasePrize;
    }

    public String getPurchaseName() {
        return purchaseName;
    }

    public void setPurchaseName(String purchaseName) {
        this.purchaseName = purchaseName == null ? null : purchaseName.trim();
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getDocid() {
        return docid;
    }

    public void setDocid(Integer docid) {
        this.docid = docid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}